#ifndef FRMPRINCIPALIMPL_H
#define FRMPRINCIPALIMPL_H
//
#include <QMainWindow>
#include "ui_frmprincipal.h"
#include "frmAgregarDocImpl.h"
#include "frmFrontCodImpl.h"
#include "./src/frmAboutImpl.h"
#include <cstdlib>
#include <cstring>
#include <QMessageBox>
#include "../indice/invertedindex/src/invertedindex.h"
#include "../indice/invertedindex/src/document.h"
#include "../indice/invertedindex/src/invertedindexdata.h"
#include "../Busquedas/Busquedas.h"
#include "globals.h"

#include <QVBoxLayout>
#include <QLabel>
#include <QScrollArea>
#include <QGroupBox>
#include <string>
#include "qlabelextclick.h"
#include <list>

using std::string;
using namespace invertedindex;
//
class frmPrincipalImpl : public QMainWindow, public Ui::frmPrincipal
{
Q_OBJECT
private:
	std::vector<QString> paths;
public:
	frmPrincipalImpl( QWidget * parent = 0, Qt::WFlags f = 0 );
private slots:
	void on_actionA_yuda_activated();
	void on_action_About_activated();
	void on_action_Exportar_nodos_activated();
	void on_actionExportar_nodo_activated();
	void on_lstResultados_clicked(QModelIndex index);
	void on_action_Agregar_Documentos_activated();
	void on_action_Salir_activated();
	void on_btnBuscar_clicked();
	void on_action_Reset_ndice_activated();
public slots:
	void onlinkPdfclicked(char* str);
};
#endif












